How to calculate the average for each column in a query.Choose the 'Queries' tab in the Database window, choose the 'New' button, and select 'Design View' from the list box. Select the 'View' menu and select 'Totals'. Select 'Avg' from the 'Totals' drop-down list. 1) If the Database window is not active, activate the Database window. 2) Choose the 'Queries' tab in the Database window. < 3) Choose the 'New' button. (The New Query dialog box appears.) 4) Select 'Design View' in the 'New Query' list box. 5) Choose 'OK'. (The Show Table dialog box appears.) 6) Select the table to be used in the query. 7) Choose the 'Add' button. (The table appears behind the dialog box.) 8) Choose the 'Close' button. (The Query design view appears.) 9) To add fields to the query: a) Select a field from a table's field list box in the top half of the Query Design window. b) Drag the field to the desired column of the design grid in the bottom half of the Query Design window. < c) Release the mouse button. (The field name appears in the Field row, and its table appears in the Table row.) < d) Repeat steps 9)a) through 9)c) for each field to be added to the query. NOTE: Fields can also be added to the query by selecting a field from the drop-down list in the 'Field' row of the design grid in the bottom half of the Query Design window. < 10) Select the 'View' menu and select 'Totals'. (The Totals row appears in the query grid.) < 11) Click in the 'Totals' cell of the desired field. (A down arrow appears.) 12) Choose the down arrow. (A drop-down list appears.) 13) Select 'Avg' from the 'Totals' drop-down list. 14) Repeat steps 11) through 13) for each column in the query. 15) Select the 'File' menu and select 'Save' to save the query. 16) Select the 'Query' menu and select 'Run' to select the specified records. Knowledge-Pak Desktop Suite (TM) Edition 5 Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved. Subject to the terms set forth in the end-user license agreement. All rights reserved. |